package com.itheima.chanlin.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data

public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;//long 0l  null   Long    null    0L
//    private String id;
//    int      Integer      bety     Bety    double    Double   lang  Lang

    private String username;

    private String name;

    private String password;

    private String phone;

    private String sex;

    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

}
